﻿using SuporeSliplampApp.DataAccess;
using SuporeSliplampApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SuporeSliplampApp.Service
{
    public class EditPatientService
    {
        SqlHelper sqlHelper = new SqlHelper();
        public bool EditPatient(PatientModel patient , string currentid)
        {
            return sqlHelper.EditPatientInfo(patient,currentid);
        }

        public bool DeletePatient(PatientModel patient)
        {
            return sqlHelper.DeletePatient(patient);
        }
    }
}
